{extend name='extra@admin/content'}

{block name="button"}
<div class="nowrap pull-right" style="margin-top:10px">
    <!--{if auth("$classuri/application_goods")}-->
        <!--<button data-modal='{:url("$classuri/application_goods")}?id={$goods.id}' data-title="申请购货" class='layui-btn layui-btn-small'>-->
            <!--<i class='fa fa-plus'></i> 申请购货-->
        <!--</button>-->
    <!--{/if}-->
    <!--{if auth("$classuri/del_goods")}-->
    <!--<button data-update data-field='delete' data-action='{:url("$classuri/del_goods")}' class='layui-btn layui-btn-small layui-btn-danger'>-->
    <!--<i class='fa fa-remove'></i> 删除商品-->
    <!--</button>-->
    <!--{/if}-->

</div>
{/block}

{block name="content"}

<!-- 表单搜索 开始 -->
<!-- 表单搜索 结束 -->
    <table class="layui-table" lay-skin="line" lay-size="sm">
        <thead>
            <tr>
                <th class='text-left nowrap'>时间</th>
                <th class='text-left nowrap'>入库</th>
                <th class='text-left nowrap'>出库</th>
                <th class='text-left nowrap'>报损</th>
                <th class='text-left nowrap'>当时库存</th>
                <th class='text-left nowrap'>备注</th>
            </tr>
        </thead>
        <tbody>
            {volist name='list' id='vo'}
            <tr>
                <td class='text-left nowrap'>
                    {$vo.addtime|date='Y-m-d H:i:s',###}
                </td>
                <td class='text-left nowrap'>
                    {$vo.ruku_num}
                </td>
                <td class='text-left nowrap'>
                    {$vo.chuku_num}
                </td>
                <td class='text-left nowrap'>
                    {$vo.sunhao_num}
                </td>
                <td class='text-left nowrap'>
                    {$vo.cur_stock}
                </td>
                <td class='text-left nowrap'>
                    {$vo.remark}
                </td>
            </tr>
            {/volist}
        </tbody>
    </table>
{if isset($page)}<p>{$page}</p>{/if}
    <script>
        window.laydate.render({range: true, elem: '#range-date', format: 'yyyy/MM/dd'});
    </script>
{/block}